﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models
{
    public class InventoryAllDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 垛条码
        /// </summary>
        public string PalletBarcode { get; set; }
        /// <summary>
        /// 货位名称
        /// </summary>
        public string LocationName { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 可用库存数量
        /// </summary>
        public decimal? AvailableQty { get; set; }
        /// <summary>
        /// 库存状态：1-正常库存；2-转移中的库存；3-入库在途；4-出库在途；5-限制使用的库存;6-异常库存;7-预分配库存;8-冻结库存
        /// </summary>
        public string? StatusVal { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        public string MaterialCode { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal? TotalPrice { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 物料批次号
        /// </summary>
        public string BatchNo { get; set; }
        /// <summary>
        /// 物料批次说明
        /// </summary>
        //public string? BatchNoExplain { get; set; }
        /// <summary>
        /// 货位编码
        /// </summary>
        public string LocationCode { get; set; }

        /// <summary>
        /// 货主
        /// </summary>
        public string OwnerName { get; set; }
        /// <summary>
        /// 库区名称
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 总重量
        /// </summary>
        public decimal? TotalWeight { get; set; }

        /// <summary>
        /// 数量单位
        /// </summary>
        public string NumUnitName { get; set; }

        /// <summary>
        /// 重量单位
        /// </summary>
        public string WeightUnitName { get; set; }

        /// <summary>
        /// 型号规格
        /// </summary>
        public string ModelSpec { get; set; }
    }
}
